import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.SwingConstants;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class MessageClass {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MessageClass window = new MessageClass();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public MessageClass() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 366, 275);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JLabel lblYourQuestion = new JLabel("Your Question");
		lblYourQuestion.setBounds(0, 63, 360, 15);
		lblYourQuestion.setHorizontalAlignment(SwingConstants.CENTER);
		frame.getContentPane().add(lblYourQuestion);
		
		JButton btnNo = new JButton("No");
		btnNo.setBounds(202, 170, 146, 25);
		frame.getContentPane().add(btnNo);
		
		JButton btnYes = new JButton("Yes");
		btnYes.setBounds(12, 170, 146, 25);
		frame.getContentPane().add(btnYes);
		btnNo.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
	}

}
